 <div class="headerSection">
	<div class="headerSection_top">
		<div class="centerSection" id="center">
			<div class="logo">
				<a href="/"><img src="/public/novel/images/logo.png" alt="" /></a>
			</div>
			<div class="header_navSection">
				<ul id="navpages">
					<li id="index"><a  href="/" class="{if isset($nav) && $nav=='index'}active{/if}">首页</a></li>
					<li id="rank"><a  href="/top" class="{if isset($nav) && $nav=='booktop'}active{/if}">排行</a></li>
					<li id="books"><a  href="/books/" class="{if isset($nav) && $nav=='bookall'}active{/if}">书库</a></li>									
					<li id="zz"   ><a  href="{:config('writer_url')}">作者专区</a></li>
					
					<li id="pay"   ><a  class="{if isset($nav) && $nav=='payindex'}active{/if}" href="/pay/index/">充值</a></li>
				</ul>
			</div>
			<div class="header_searchSection">
				<input type="text" value="" placeholder="书名／作者／书号" id="search" onkeydown="getsearch(event)"/>
				<button onclick="search()"></button>
			</div>
		</div>
	</div>
	<div class="headerSection_bottom">
		<div class="centerSection">
			<div class="headerSection_bottomLeft" id="changeFont">
				<ul id="news"></ul>
			</div>

			<div class="headerSection_bottomRight"  style="display: block;">
				{if $Think.session.user_auth.uid}
					<span class="user"><o style="float: left;">欢迎您，</o><i style="float: left; padding-top: 1px;"><a href="/personal/info/" style="margin-left: 5px;">{$Think.session.user_auth.uid|get_nickname}</a></i></span><a href="/logout?backurl=" class="button">退出</a>
					<div class="chongzhi">
						<!---<a href="/pay/index">充值</a>--->
						<div class="yuedu">阅读记录
							<div class="shujiaBlock"></div>
						</div>
					</div>
				{else}
				<!-- 未登录状态 -->
					<a href="/login.html?backurl=" class="button">登录</a><a href="/login/register?jumpurl=" class="button">注册</a>
					<div class="chongzhi">
						<div class="yuedu">阅读记录
							<div class="shujiaBlock"></div>
						</div>
					</div>
				{/if}
			</div>


		</div>
	</div>
</div>
<script type="text/javascript">
	var is_login ={if $Think.session.user_auth.uid>0}1{else/}0{/if};

</script>